package com.doradance.entity;

/**
 * Created by Administrator on 2018/2/28.
 */

public class FreeItemEntity {

    /**
     * id : 5
     * name : 免费课程
     * category : 高等数学
     * vip_limit : 0
     * vip_name :
     * cover : http://static.doradance.cn/5e4a87dacf971e4e.png
     * learning_count : 0
     * difficulty : 3
     * cycle : 36
     */

    private int id;
    private String name;
    private String category;
    private int vip_limit;
    private String vip_name;
    private String cover;
    private int learning_count;
    private int difficulty;
    private int cycle;
    //本地字段，用户recyclerview保存状态
    public boolean isSelected = false;

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getVip_limit() {
        return vip_limit;
    }

    public void setVip_limit(int vip_limit) {
        this.vip_limit = vip_limit;
    }

    public String getVip_name() {
        return vip_name;
    }

    public void setVip_name(String vip_name) {
        this.vip_name = vip_name;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public int getLearning_count() {
        return learning_count;
    }

    public void setLearning_count(int learning_count) {
        this.learning_count = learning_count;
    }

    public int getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(int difficulty) {
        this.difficulty = difficulty;
    }

    public int getCycle() {
        return cycle;
    }

    public void setCycle(int cycle) {
        this.cycle = cycle;
    }
}
